
export default {
  path: "/news",
  meta: {
    title: "新闻中心",
    icon: "ep:message-box",
    rank:9
  },
  children: [
    {
      path: "/news/ofan",
      name: "Ofan",
      component: () => import("@/views/news/ofan.vue"),
      meta: {
        title: "官方公告",
        showParent: true,
         roles:['common']
      }
     
    },
    {
      path: '/news/ofpo',
      name: 'Ofpo',
      component: () => import('@/views/news/ofpo.vue'),
      meta: {
        title: '官方政策',
         showParent: true,
        roles:['common']
      }
    },
     {
      path: '/news/news',
      name: 'News',
      component: () => import('@/views/news/news.vue'),
      meta: {
        title: '新闻资讯',
         showParent: true,
        roles:['common']
      }
    },
      {
      path: '/news/messagedetail',
      name: 'Messagedetail',
      component: () => import('@/views/news/messagedetail.vue'),
      meta: {
        title: '详情',
        showParent: true,
         showLink: false,
        roles:['common','admin']
      }
    }
  ]
};